@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
  // padding-left: 200px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
  width: 10px;
  border-radius: 3px;
  background: #1890ff; /* 修改横向滚动条颜色 */
}
.el-table {
  ::-webkit-scrollbar {
    //整个滚动条
    height: 10px;
    /* 横向滚动条 高度 */
  }

  ::-webkit-scrollbar-thumb {
    // 滚动条上的滚动滑块
    // background: #000 !important;
    height: 8px;
  }
}
// // 历史报警,地质数据日期样式修改
 .el-picker-panel .el-date-picker .el-popper .has-time{
  background-color: #0b2c54 !important;
}
 .el-date-picker__time-header{
  background-color: #0b2c54 !important;
}
 .el-date-range-picker {
  background-color: #0b2c54 !important;
}
 .el-date-range-picker__header {
  //头部日期颜色
  color: #fff !important;
  .d-arrow-left,
  .arrow-left,
  .d-arrow-right,
  .arrow-right {
    color: #fff !important;
  }
}
 .el-date-range-picker__time-header {
  //头部 ‘>’图标颜色
  color: #fff !important;
}
//  .el-date-table {
//   //星期一到星期日颜色
//   tr {
//     th {
//       color: #fff !important;
//     }
//   }
// }
 .el-date-table td.in-range .el-date-table-cell {
  //选中日期区间背景色
  background-color: #0b2c54 !important;
}
 .available {
  color: #fff !important;
}
 .el-picker-panel__footer {
  background-color: #0b2c54 !important;
}
 .el-date-table td.disabled .el-date-table-cell {
  //禁用日期区间背景色
  background-color: transparent !important;
}
.el-date-picker__editor-wrap{
  .el-input__inner {
    //输入框颜色
    background-color: transparent !important;
    color: #fff !important;
  }
}
 .el-time-panel {
  //时分秒背景色
  background-color: #0b2c54 !important;
}
 .el-time-spinner__item,
.active {
  //时分秒颜色
  color: #fff !important;
}
 .cancel {
  //时分秒取消按钮颜色
  color: #fff !important;
}
 .el-time-spinner__item:hover:not(.disabled):not(.active) {
  background-color: rgba(216, 215, 215, 0.5) !important;
}
//开始时间-结束时间
 .el-picker-panel__sidebar {
  background-color: #0b2c54 !important;
}
.el-icon-arrow-right{
  color: #dee1e6 !important;
}
 .el-range-separator{
  color: #dee1e6 !important;
}
//  .el-range-input {
//   background-color: #061f41 !important;
//   color: #dee1dc !important;
// }
 .el-picker-panel__shortcut {
  color: #dee1e6;
}
 .el-picker-panel__icon-btn {
  color: #dee1e6 !important;
}
 .el-date-picker__header-label {
  color: #dee1e6 !important;
}
 .el-picker-panel__body {
  background-color: #0b2c54 !important;
}
.el-date-table{
tr {
  th {
    color: #dee1e6 !important;
  }
  td {
    color: #dee1e6 !important;
  }
}
}

 .prev-month,
.next-month {
  color: #7f7f7f !important;
}
 .in-range {
  div {
    background-color: #061f41 !important;
  }
}
 .el-range-editor--medium {
  border: 1px solid #384c67 !important;
}
// 边框
.el-date-range-picker__editor{
  border: 1px solid #384c67 !important;
}
.el-date-range-picker__editor{
  border-radius: 5px;
}
//边框线
.el-date-picker__editor-wrap{
  .el-input__inner{
    border: 1px solid #384c67 !important;
  }
}

.el-date-picker__time-header{
  border-bottom:  1px solid #384c67 !important;
}
.el-date-table th{
  border-bottom:  1px solid #384c67 !important;
}
.el-picker-panel__footer{
  border-top:  1px solid #384c67 !important;
}
// 最近一周选择器边框线
.el-picker-panel__sidebar{
  border-right: 1px solid #384c67 !important;
}
.el-date-range-picker__time-header{
  border-bottom: 1px solid #384c67 !important;
}
.el-date-range-picker__content.is-left{
  border-right: 1px solid #384c67 !important;
}
// //选择下拉框
// .el-select-dropdown__item {
//   color: #dee1e6;
//   background-color: #0b2c54 !important;
//   &:hover {
//     background-color: #061f41 !important;
//   }
// }
// .el-select-dropdown__list {
//   padding: 0;
// }
// .el-select-dropdown__empty{
//   color: #dee1e6;
//   background-color: #0b2c54 !important;
// }
//  .el-popper{
//   border: 1px solid #384c67 !important;
// }